babl: use typedefs and structs for fixed point numbers
authorØyvind Kolås <pippin@gimp.org>
Sun, 20 Aug 2017 23:40:25 +0000 (01:40 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sun, 20 Aug 2017 23:41:52 +0000 (01:41 +0200)
commitb017e0d10ab561270626d7ad500ae575a048b9de
tree2d9c0975ba342dd32ae809d53113718c5754ab7f
parentc804bd9153d9e5ad304ce2aef4bb0e9c15efe60a
babl: use typedefs and structs for fixed point numbers

also adds code to print exact decimal representations of numbers found in icc
files, can be useful for tuning constants fed in - our observing differences,
it turns out that ~6digits of precision is enough for double float and fixed point 32bit to differ in values in icc profiles.
babl/babl-icc.c
tools/babl-icc-dump.c